/* 
 * Copyright [2018] [Alex/libo(liboware@gmail.com)]
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *  http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.hyts.infodb.file.bean.directory;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import com.hyts.infodb.bean.po.BasePO;
import lombok.Data;
import lombok.EqualsAndHashCode;

/** 
 * @author LiBo/Alex
 * @version V1.0 
 */
@Data
@EqualsAndHashCode(callSuper=false)
@Entity
@Table(name="TBL_DIRECTORY")
public class DirectoryPO extends BasePO {
    
    /**  
     * <p>目录路径文件夹路径</p> 
     * @fieldName path
     * @fieldType String
     */ 
    @Column(name="PATH")
    private String path;
    
    /**  
     * <p>父目录ID</p> 
     * @fieldName parentDirectoryId
     * @fieldType Long
     */ 
    @Column(name="PARENT_DIRECTORY_ID")
    private Long parentDirectoryId;
    
    
    /**  
     * <p>目录名称</p> 
     * @fieldName name
     * @fieldType String
     */ 
    @Column(name="NAME")
    private String name;
    
    /**  
     * <p>是否隐藏</p> 
     * @fieldName isHidden
     * @fieldType Byte
     * 0:显示，1:隐藏
     */ 
    @Column(name="IS_HIDDEN")
    private Integer isHidden;
    
}
